home *** CD-ROM | disk | FTP | other *** search
- // Auto-recognize file format tests.
- //
- // The tests will be executed in the order they appear in this list.
- // To make comments, or temporarily disable a test, put a "//" or
- // a "#" at the beginning of the line. Blank lines are allowed and
- // have no effect.
- //
- // test format:
- // [extension list],[begin offset],[end offset],[pattern],[codetest]
- //
- // extension list:
- // A list of extensions to associate with this test.
- // The extensions must be separated with the '|' character.
- // If a loader is to be associated with this test, list the
- // primary extension mentioned in the myrdrv.ini file first.
- //
- // begin offset:
- // The first byte of the pattern will be searched for, starting at this offset.
- // Special Case : -1 (See below)
- //
- // end offset:
- // The first byte of the pattern will be searched for, ending at this offset.
- // If the begin offset and the end offset are the same, then the pattern must
- // start at that offset.
- // Special Case : -1 (See below)
- //
- // pattern:
- // A string representing the pattern. Must be enclosed in double quotes.
- // To represent non-printable characters, a backslash character or the
- // double quote character, put down the hexadecimal representation of the
- // character in this format: "\ff" example: "\ff\ff\7f\80\a0\80\80"
- // If there is no pattern test, but there is a code test available, just set
- // the begin and end offsets to 0 and insert an empty pattern. example:
- // foo,0,0,"",CT_foo
- //
- // codetest:
- // If the pattern test is not conclusive enough and there is a code test that
- // can be executed, describe it's enumerated name here. If the pattern test
- // is solid enough as it is, just put "none". When a code test is listed, a
- // file must pass both the pattern test as well as the code test, to be accepted
- // as one of the specified file formats.
- //
- // Special Case :
- // If the begin and end offset are both set to -1, then this test is NOT a
- // pattern search offset into the file. Instead, it is an OLE compound
- // document test. The data contained in the "pattern" field represents
- // a series of uniquely named storage or stream elements. Each name is
- // seperated by a space. The test will compare the names of all the file's
- // root storage level elements against the suggested list. If all items
- // specified in the test string are found, then the test is passed.
-
-
- i3f,0,0,"Informative Graphics Intermediate File",none
- mvs|m3r|mvp,0,0,"Informative Graphics View Set",none
- cal|cg4|dls|gp4|mil|,0,0,"srcdocid:",CT_iso
- dcx|pcx,0,0,"\b1\68\de\3a",none
- dif,0,0,"\ff\ff\7f\80\a0\80\80",none
- edc,0,0,"\49\49\2A\00\08\00\00\00\0B",none
- edc,0,0,"\f0\f1\7a\f1\7a\c2\7a\c1\c4\d4\f0\f0\f7",none
- rle,0,0,"\08\09\fe\02\09",none
- iso|cal|cg4|dls|gp4|iso|mil,3,3,"\81\01\31\a2\48\84\04\58",CT_iso
- mrk|sym,4,4,"ASCII MARKUP FILE FORMAT",none
-
- dsn,-1,-1,"Cells Parts Views Symbols Graphics Packages ExportBlocks",none
- dft,-1,-1,"JDraftViewerInfo PSMroots PARASOLID JSitesList PSMspacemap",none
- //idw,-1,-1,"RSeStorage",CT_idw
- //iam,-1,-1,"RSeStorage",CT_iam
-
- mrk|sym,0,0,"Informative Graphics Markup",none
- mrk|sym,0,0,"< ID 'Informative Graphics Markup",none
- xml,0,64,"?xml version=",CT_xml
- rtl,0,0,"EMBEDDED RTL RASTER",none
- bmp,0,0,"BM",none
- tif,0,0,"\4d\4d\00\2a\00",none
- dx,0,0,"ARF0\00\00\00",CT_dx
- edm,0,0,"\80\00\00\00",none
- ftk,0,0,"\00\48\4d\5f\00",CT_ftk
- g3|g4|rnl,0,0,"GTX",CT_gtx
- g3|g4|rnl,0,0,"NSC",CT_gtx
-
- cgm,0,0,"BegMF ",CT_cgm
- cgm,0,0,"BEGMF ",CT_cgm
-
- tif,0,0,"II*",none
- pcx|dcx,0,0,"\0a\05",none
- png,0,0,"\89\50\4E\47\0D\0A\1A\0A",none
- dwf,0,0,"(DWF V00.30){",none
- cit,0,0,"\08\09\fe\02\18",CT_cit
- cit,0,0,"\08\09\fe\04\18",CT_cit
- cit,0,0,"\08\09\fe\05\18",CT_cit
- cit,0,0,"\08\09\fe\09\18",CT_cit
- cit,0,0,"\08\09\fe\0A\18",CT_cit
- cit,0,0,"\08\09\fe\0B\18",CT_cit
- cit,0,0,"\08\09\fe\0D\18",CT_cit
-
- cit,0,0,"\08\09\fe\0F\18",CT_cit
- cit,0,0,"\08\09\fe\14\18",CT_cit
- cit,0,0,"\08\90\fe\01\18",CT_cit
- cit,0,0,"\08\09\fe\01\41",CT_cit
- dgn,0,0,"\08\09\Fe\02\01\08",CT_dgn
- dgn,0,0,"\08\09\Fe\02\08\01",CT_dgn
- dgn,0,0,"\C8\09\Fe\02\01\08",CT_dgn
- dgn,0,0,"\08\09\Fe\02\00\00",CT_dgn
- cit,0,0,"",CT_cit
- prt,0,0,"\a5\0f\f0\5a\1e\02\00\00\30",none
-
- ps,0,0,"%!PS",none
- ps,0,256,"%%Title:",none
- ps,0,256,"%%Creator:",none
- ps,0,256,"%%BoundingBox:",none
- mi|cmi,0,0,"#~1",none
- mi|cmi,0,0,"#~2",none
- cmi|mi,0,0,"\1f\9d\8c",none
- pcx|dcx,0,0,"\0a\00",none
- pcx|dcx,0,0,"\0a\02",none
- pcx|dcx,0,0,"\0a\03",none
-
- dcx|pcx,0,0,"\0a\04",none
- jpg|jpeg,6,64,"JFIF",none
- jpg|jpeg,6,64,"Exif",none
- dwg|dxf,0,0,"AC100",none
- dwg|dxf,0,0,"AC101",none
- dxf|dwg,0,256,"$ACADVER",none
- dxf,0,0,"0\0d\0aSECTION",CT_dxf
- dxf,0,64,"SECTION",CT_dxf
- dxf,0,1024,"$EXTMAX",CT_dxf
- pdf,0,0,"%PDF-1.",none
- pdf,0,0,"%PDF-2.",none
- pdf,0,0,"%PDF-3.",none
-
- pdf,128,128,"%PDF-1.",none
- pdf,128,128,"%PDF-2.",none
- pdf,128,128,"%PDF-3.",none
- 906|907,0,8,"\1f\1f\20\24\22\23",none
- 906|907,0,8,"\16\16\20\28\21\24\21",none
- 906|907,0,8,"\1f\1f\20\24\21\23",none
- dg,0,0,"S5000* BUILD",none
- dg,16,16,"S5000* BUILD",none
- dg,36,36,"S5000* BUILD",none
- dg,0,0,"S5000* BLD",none
-
- dg,16,16,"S5000* BLD",none
- wp5,0,0,"\ff\57\50\43",none
- dg,36,36,"S5000* BLD",none
- dls,0,0,"IGC1\01\00\00\00",none
- dsf,0,0,"Informative Graphics Document Stack",none
- gif,0,0,"GIF87a ",none
- gif,0,0,"GIF89a ",none
- 906|907,0,8,"\20\21\20\20\21",none
- 906|907,0,8,"\26\26\26\26",none
- dxf,0,256,"$EXTMAX",CT_dxf
- wrl,0,0,"#VRML",CT_vrml
- isf,0,8,"Informative Graphics Stream File",CT_isf
-
- xgl,0,0,"",CT_xgl
- granite,0,0,"",CT_granite
- sat,0,0,"",CT_acis
- stl,0,0,"",CT_stl
- 3df,0,0,"",CT_3df
- igs,0,0,"",CT_iges
- DOC,0,0,"",CT_inso
- ps,0,512,"/inch",none
- daf,0,256,"AcVObjArray",none
- plt|000,0,0,"\1B%-1B",CT_hpgl
- axp,0,0,"\00\08\00\00\00\00\00\00\00\00\00\00",CT_axp
- plt|000,0,0,"",CT_hpgl
- plt|000,0,75,"\3b\4e\50",CT_hpgl
-
- dwf,0,0,"(DWF V",none
- mot,0,0,"",CT_mot
- cgm,0,512,"PICTURE 1",none
- cgm,0,256,"cgm",none
- cgm,0,256,"CGM",none
- cgm,0,0,"",CT_cgm
- txt,0,0,"",CT_text
- rlc,0,0,"",CT_rlc
-
-
-